.w-add-rule-dialog .modal-content {
  width: 630px;
}

.w-add-rule-req-detail {
  display: block;
  margin-left: 104px;
  width: 136px;
}

.w-add-rule-preview .modal-dialog, .w-add-rule-preview .modal-content {
  width: 900px;
}

.w-add-rule-dialog .modal-body>div {
  padding-bottom: 10px;
  white-space: nowrap;
}

.w-add-rule-dialog .modal-body>div:nth-child(2) {
  padding-bottom: 15px;
}

.w-add-rule-dialog .glyphicon {
  margin-right: 5px;
  position: relative;
}

.w-add-rule-dialog label {
  display: inline-block;
  width: 90px;
  margin-right: 15px;
  line-height: 32px;
  padding-left: 10px;
}

.w-add-rule-dialog-tips {
  display: none;
  position: absolute;;
  left: -208px;
  width: 200px;
  background: lightyellow;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  top: -5px;
  font-size: 12px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}

.w-add-rule-dialog div[name=pattern] .w-add-rule-dialog-tips {
  top: -63px;
}

.w-add-rule-dialog div[name=pattern] .w-arrow-right {
  top: 69px;
}

.w-add-rule-dialog div[name=rule] .w-add-rule-dialog-tips {
  top: -9px;
}

.w-add-rule-dialog div[name=filter] .w-add-rule-dialog-tips {
  top: -103px;
}

.w-add-rule-dialog-tips pre {
  font-family: consolas, monospace;
  margin-top: 3px;
  word-wrap: break-word;
  word-break: break-word;
}
.w-add-rule-dialog-tips pre, .w-add-rule-dialog-tips a {
  margin-left: 10px;
}

.w-add-rule-dialog .modal-body {
  padding-left: 0px;
}

.w-add-rule-dialog .w-add-rule-pattern {
  width: 510px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 5px;
}

.w-add-rule-dialog select, .w-add-rule-preview select {
  width: 510px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.w-add-rule-dialog .w-add-rule-protocols {
  width: 130px;
  height: 160px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  font-weight: bold;
}

.w-add-rule-dialog textarea {
  vertical-align: top;
  display: inline-block;
  width: 380px;
  height: 160px;
  border: 1px solid #ccc;
  border-radius: 2px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 5px;
}
.w-add-rule-dialog a, .w-add-rule-preview a {
  color: #000;
}
.w-add-rule-dialog a:hover, .w-add-rule-preview a:hover {
  color: #23527c;
}
.w-add-rule-dialog .modal-header {
  padding: 6px;
}
.w-add-rule-dialog .modal-header select {
  width: auto!important;
  font-weight: bold;
}

.w-add-rule-dialog .w-add-rule-filter {
  width: 510px;
  height: 63px;
  padding-bottom: 5px;
}

.w-add-rule-preview-name {
  width: auto!important;
  margin: 0 5px;
  vertical-align: middle;
}

.w-add-rule-preview .CodeMirror {
  height: 460px;
}

.w-add-preview-title {
  font-weight: bold;
}
